<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;" class="x_sorll">
    <!-- 标题 -->
    <div class="page-heade">
       <h2 class="title_color text-center">所属网点管理</h2>
    </div>
    <!-- 标题 -->
     <div>
    <form action="" class="form-inline">
        <table class="table table-bordered">
        <tr class="info">
            <th colspan="6">网点基本信息</th>
        </tr>
        <tr>
            <td><label for="" style="min-width: 160px;width: 160px">网点名称<span class="colorRed">*</span>：</label></td>
            <td colspan="3"><input type="text" class="form-control" style="min-width: 200px;width: 200px"><span class="colorRed">不允许英文状态下输入的单引号!</span></td>
            <td>所属系统名称</td>
            <td>南京家乐福</td>
        </tr>
        <tr>
          <td>
            <label for="" style="min-width: 160px;width: 160px">网点类型<span class="colorRed">*</span>：</label>
          </td>
          <td>
            <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
        </td>
            <td>
            <label for="" style="min-width: 160px;width: 160px">网点等级<span class="colorRed">*</span>：</label>
          </td>
          <td>
            <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
        </td>
        <td><label for="" style="min-width: 160px;width: 160px">雇员人数(个)</label></td>
        <td><input type="text" class="form-control"></td>
        </tr>
        <tr>
          <td><label for="" style="min-width: 160px;width: 160px">店面面积(平方米):</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">店面层数:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">网点简称:</label></td>
        <td><input type="text" class="form-control"></td>
        </tr>
         <tr>
          <td><label for="" style="min-width: 160px;width: 160px">同品类货架节数(各产品):</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">收银台数:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">同品类面积:</label></td>
        <td><input type="text" class="form-control"></td>
        </tr>
         <tr>
          <td><label for="" style="min-width: 160px;width: 160px">同品类地堆数</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">同品类端架数:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">邮编:</label></td>
        <td><input type="text" class="form-control"></td>
        </tr>
           <tr>
          <td><label for="" style="min-width: 160px;width: 160px">是否重点网点</label></td>
        <td>
             <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option2">是
                </label>
                    <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option3">否
                </label>
        </td>
           <td><label for="" style="min-width: 160px;width: 160px">是否直营网点:</label></td>
            <td>
                 <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option5">是
                </label>
                    <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="option6">否
                </label>
            </td>
           <td><label for="" style="min-width: 160px;width: 160px">是否导购网点:</label></td>
        <td>
             <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio5" value="option7">是
                </label>
                    <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio6" value="option8">否
                </label>
        </td>
        </tr>
        <tr>
            <td><label for="" style="min-width: 160px;width: 160px">一级渠道类型</label></td>
            <td>零售</td>
             <td><label for="" style="min-width: 160px;width: 160px">二级渠道类型</label></td>
            <td>现代渠道</td>
             <td><label for="" style="min-width: 160px;width: 160px">开始合作日期</label></td>
            <td>
            <div class="form-group">
            <input type="text" id="start" placeholder="开始日期" class="form-control layer-date " style="display: inline-block;">
           </div>
            </td>
        </tr>
        <tr>
              <td><label for="" style="min-width: 160px;width: 160px">系统自编区域:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">系统自编店号:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">系统自编分仓:</label></td>
        <td><input type="text" class="form-control"></td> 
        </tr>
         <tr>
              <td><label for="" style="min-width: 160px;width: 160px">系统自编分仓代码:</label></td>
        <td><input type="text" class="form-control"></td>
           <td><label for="" style="min-width: 160px;width: 160px">网店开店日期:</label></td>
        <td><input type="text" class="form-control layer-date dataTime" id="thisDate0"></td>
           <td><label for="" style="min-width: 160px;width: 160px">是否样板网点:</label></td>
        <td>
              <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio7" value="option51">是
                </label>
                    <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio8" value="option61">否
                </label>
        </td> 
        </tr>
        <tr>
            <td><label for="" style="min-width: 160px;width: 160px">是新进网点:</label></td>
            <td colspan="5">
             <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio71" value="option52">是
                </label>
                    <label class="radio-inline">
                  <input type="radio" name="inlineRadioOptions" id="inlineRadio81" value="option62">否
                </label>
            </td>
        </tr>
        <tr>
          <td>
             <label for="" style="min-width: 160px;width: 160px">网点所属营销区域<span class="colorRed">*</span>：</label>
          </td> 
          <td colspan="5">
                <span>城市：</span>
               <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择分区</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
              <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择省份</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
              <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择城市</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
          </td> 
        </tr>
        <tr>
            <td>
                  <label for="" style="min-width: 160px;width: 160px">网点所属行政区域：</label>
            </td>
            <td colspan="5">
            省份：
              <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择省份</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
            城市：
              <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择城市</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
            区县：
              <select name="" id="" style="min-width: 120px;width: 120px" class="form-control">
                <option value="0">请选择区县</option>
                <option value="1">请选择</option>
                <option value="2">请选择</option>
            </select>
             <label for="">详细地址<span class="colorRed">*</span></label>
             <input type="text" class="form-control" style="width: 240px;min-width: 240px">
            </td>
        </tr>
        <tr>
            <td rowspan="2" style="min-width: 160px;width: 160px">备注：</td>
            <td rowspan="2" colspan="5">
                <textarea name="" id="" style="width: 60%;height: 80px; user-select:none" class="form-control"></textarea><span style="vertical-align: bottom;">(500)</span>
            </td>
        </tr>
    </table>
    <table class="table table-bordered">
        <tr class="info">
            <th colspan="2">网点所属系统信息</th>
        </tr>
        <tr>
            <td style="min-width: 160px;width: 160px">系统名称：</td>
            <td><a href="javascript:;">南京家乐福</a></td>
        </tr>
        <tr>
            <td>业务人员</td>
            <td>钟维，李强，何跃，测试职员</td>
        </tr>
    </table>
     <table class="table table-bordered">
        <tr class="info">
            <th colspan="6">网点所属经销商信息</th>
        </tr>
        <tr>
            <td style="min-width: 160px;width: 160px">所属经销商：</td>
            <td colspan="2"><a href="javascript:;">南京市佳和贸易有限公司</a></td>
              <td style="min-width: 160px;width: 160px">经销商编码：</td>
            <td colspan="2"><a href="javascript:;">CU00001</a></td>
        </tr>
        <tr>
           <td style="min-width: 160px;width: 160px">分区负责人：</td>
            <td><a href="javascript:;">何跃</a></td>
            <td style="min-width: 160px;width: 160px">省份负责人：</td>
             <td><a href="javascript:;">何跃</a></td>
              <td style="min-width: 160px;width: 160px">城市负责人：</td>
             <td><a href="javascript:;">何跃</a></td>
        </tr>
        <tr>
          <td style="min-width: 160px;width: 160px">网点所属经销商所在的营销区域：</td>
          <td colspan="5">华东大区-安徽省-合肥市</td>
        </tr>
    </table>
     <table class="table table-bordered">
     <tr class="info">
        <th colspan="2">网点负责人：</th>
     </tr>
     <tr>
        <td class="text-center">业务人员</td>
        <td><input type="text" class="form-control"><a href="javascript:;">选择</a></td>
     </tr>
      <tr>
        <td></td>
        <td></td>
     </tr>
     </table>
     <table class="table-bordered table text-center">
        <tr class="info">
            <td>网点联络信息<span class="colorRed">(至少填一条)</span></td>
            <td colspan="6"></td>
        </tr>
        <tr class="info">
            <td>联系人姓名<span class="colorRed">*</span></td>
            <td>联系电话<span class="colorRed">*</span></td>
            <td>手机<span class="colorRed">*</span></td>
            <td>传真</td>
            <td>电子邮件</td>
            <td>职务</td>
            <td>添加</td>
        </tr>
        <tr>
            <td><input type="text" class="form-control" style="width: 100px;min-width: 100px"></td>
             <td><input type="text" class="form-control" style="width: 50px;min-width: 50px">-<input type="text" class="form-control" style="width: 100px;min-width: 100px"></td>
               <td><input type="text" class="form-control" style="width: 120px;min-width: 120px"></td>
               <td><input type="text" class="form-control" style="width: 50px;min-width: 50px">-<input type="text" class="form-control" style="width: 100px;min-width: 100px"></td>
                 <td><input type="text" class="form-control" style="width: 120px;min-width: 120px"></td>
                 <td><input type="text" class="form-control"></td>
                 <td>&nbsp;</td>
        </tr>
     </table>
     <table class="table table-bordered">
            <tr>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">收货地址1 <span>*</span>:</label></td>
               <td><input type="text" class="form-control" style="width: 200px;min-width: 200px"></td>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">收货人1 <span>*</span>:</label></td>
                <td><input type="text" class="form-control"></td>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">联系电话1 <span>*</span>:</label></td>
                 <td><input type="text" class="form-control"></td>
            </tr>
             <tr>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">收货地址2:</label></td>
                 <td><input type="text" class="form-control" style="width: 200px;min-width: 200px"></td>
                <td class="text-right"> <label for="" style="min-width: 160px;width: 160px">收货人2:</label></td>
                <td><input type="text" class="form-control"></td>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">联系电话2:</label></td>
                 <td><input type="text" class="form-control"></td>
            </tr>
             <tr>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">收货地址3:</label></td>
                <td><input type="text" class="form-control" style="width: 200px;min-width: 200px"></td>
                   <td class="text-right"><label for="" style="min-width: 160px;width: 160px">收货人3:</label></td>
                <td><input type="text" class="form-control"></td>
                <td class="text-right"><label for="" style="min-width: 160px;width: 160px">联系电话3:</label></td>
                 <td><input type="text" class="form-control"></td>
            </tr>
     </table>
     <table class="table">
        <tr>
            <tr class="info">
            <th>网点已进场条码管理(如果没哟可不填)</th>
            </tr>
            <tr class="font-bold"><td>温馨提醒:</td></tr>
            <tr><td>1.已进场条码在这里补录</td></tr>
            <tr><td>2.已进场条码不允许重复进场，如需进场请先退场再进场</td></tr>
            <tr><td>3.新增网点产品未有进场不需要维护条码，要打进场申请，进场申请生效后本次进场条码会自动录入到这里的已进场条码中。</td></tr>
        </tr>
     </table>
     <table class="table table-bordered text-center da_table">
       <thead>
             <tr class="info">
            <th class="text-center">产品</th>
            <th class="text-center">进场时间</th>
            <th class="text-center">进场费(元)</th>
            <th class="text-center">卖场零售价(元)</th>
            <th class="text-center"><a class="btn btn-success addNetToAngency" type="button">添加</a></th>
        </tr>
       </thead>
      <tbody>
              <tr>
            <td><input type="text" class="form-control" placeholder="请输入关键字或空格查询"><a href="javascript:;">选择</a></td>
            <td>  <div class="form-group">
            <input type="text" class="form-control layer-date dataTime" style="display: inline-block;" id="thisDate1">
           </div></td>
            <td><input type="text" class="form-control"></td>
            <td><input type="text" class="form-control"></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
         <td><span class="bqName">安顺市佳和贸易有限公司<span class="delBqName">&times;</span></span></td>
         <td>
            <input type="text" class="form-control layer-date dataTime" style="display: inline-block;" id="thisDate2">
         </td>
            <td><input type="text" class="form-control"></td>
            <td><input type="text" class="form-control"></td>
        <td><a class="btn btn-danger delThisTr">删除</a></td>
        </tr>
      </tbody>
     </table>
     <table class="table-bordered table text-center">
        <tr class="info">
            <td colspan="6" class="text-left">竞品管理(如果没有可不填)</td>
        </tr>
        <tr class="info">
            <td>竞品品类</td>
            <td>竞品名称</td>
            <td>零售价(元)</td>
            <td>竞品规格</td>
            <td>竞品描述</td>
            <td><a href="javascript:;" rol="button" class="btn btn-success">添加</a></td>
        </tr>
        <tr>
            <td>
                <select name="" id="" class="form-control">
                    <option value="0">请选择</option>
                    <option value="1">请选择</option>
                    <option value="2">请选择</option>
                </select>
            </td>
            <td>
                <select name="" id="" class="form-control">
                    <option value="0">请选择</option>
                    <option value="1">请选择</option>
                    <option value="2">请选择</option>
                </select>
            </td>
            <td>
               <input type="text" class="form-control">
            </td>
            <td>
               <input type="text" class="form-control">
            </td>
            <td>
               <input type="text" class="form-control" style="min-width: 240px;width: 240px">
            </td>
            <td><a href="javascript:;" class="btn-danger btn">删除</a></td>
        </tr>
     </table>
     <div class="col-md-12 border_S">
        <span class="colorRed">如需上传附件，请点击展开按钮上传：<a href="javascript:;" class="info">展开</a></span>
     </div>
     <div class="col-md-12 text-center" style="padding: 10px 0">
            <button class="btn-success btn">确认并提交</button>
            <button class="btn-info btn">确认并再添加一条</button>
            <button class="btn-warning btn">返回</button>
     </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/common.js"></script>
    <script>
        $("#moreQueryIf").click(function(){
            $(this).parent().parent().hide()
            $("#moreTable").show()
        })
        $("#packQueryIf").click(function(){
             $("#moreTable").hide();
             $("#moreQueryIf").parent().parent().show();
        })
   </script>
   <script>
        $(document).ready(function(){
                var del_this = $(".del_this");
            console.log(del_this.length)
            for (var i = 0, len = del_this.length; i < len; i++) {
                del_this[i].onclick = function() {
                    $(this).parent().parent().parent().hide()
                }
            };
            // $("").click(function() {

            // })
            $(".angency_tableInfo>td>.netNameA").click(function() {
                $(this).parents("tr").next(".this_tableInfo_alert").toggle().siblings(".this_tableInfo_alert").hide();
                $(this).parents("tr").addClass("trBackgroundColor").siblings("tr").removeClass("trBackgroundColor");
            })
            $(".H_title>div").click(function() {
                    var $index = $(this).index();
                    $(this).addClass("AgencyTitleActive")
                        .siblings().removeClass("AgencyTitleActive");

                    $("#chooseTitle").find(".Agencycontent").eq($index).addClass("AgencycontentActive")
                        .siblings().removeClass("AgencycontentActive");
                    // console.log(1)
                    // $(this).addClass("AgencyTitleActive").siblings().removeClass("AgencyTitleActive")
                })
                /*设置重点经销商*/
                // $("table tr td>.setImportAgency").click(function(){
                //    $(this).parents("tr").prev()
                // })
                /*设置成功弹出框*/
            $(".agencyM_table tr td .setImportAgency").click(function() {
                swal("", "设置成功!", "success");
            });
            $(".agencyM_table tr td .cancelSetAgency").click(function() {
                swal("", "设置成功!", "success");
            });
            $(".agencyM_table tr td .delAgency").click(function() {
                swal("", "设置成功!", "success");
            });

            /*查看对账单*/
             $(".ckeckStatement").click(function() {
                 $(this).attr("href",  '{:url("AgencyStatement")}')
             })
        })

        laydate({
        	elem:".dataTime",
        	event: 'focus'
        })

          //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
   </script>
</body>

</html>
